package com.ydd.vo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Description TODO
 * Author itheima
 * Date 2023-05-2023/5/29 11:09
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "所有分类",description = "null响应传输对象")
public class AllCate implements Serializable {


    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("分类名称")
    private String catename;


    @ApiModelProperty("分类下文章数量")
    private Integer num;

}
